import request from '@/utils/request'

// 查询db数据库列表
export function commodityTop(params) {
  return request({
    url: '/bs/statistic/kb/consume/top',
    method: 'get',
    params
  })
}

export function consumeType(params) {
  return request({
    url: '/bs/statistic/kb/consume/type',
    method: 'get',
    params
  })
}

export function viewRank(params) {
  return request({
    url: '/bs/statistic/kb/jingqu/flow',
    method: 'get',
    params
  })
}

export function consumePortrait(params) {
  return request({
    url: '/bs/statistic/kb/sex/info',
    method: 'get',
    params
  })
}

export function consumeFn(params) {
  return request({
    url: '/bs/statistic/kb/today/consume',
    method: 'get',
    params
  })
}

export function personNum(params) {
  return request({
    url: '/bs/statistic/kb/today/flow',
    method: 'get',
    params
  })
}

